﻿$(function () {
    //auto log out when exceed idle time for Ajax
    $.ajaxSetup({
        statusCode: {
            499: function (data) {
                window.location.href = data.responseText;
            }
        }
    });
});